<?php
class removeEmpty
{
	public function compile( $content )
	{
		$content = str_replace( '://',':++',$content );
		$content = preg_replace( "/\/\/[^\n]+?\n/i",'/*this is comment{if($work) exit();} $may_be=1;*/',$content );
		$content = str_replace( ':++','://',$content );
		$content = str_replace( "\n",' ',$content );
		$content = str_replace( "\r",' ',$content );
		$content = str_replace( "\t",' ',$content );		
		$content = eregi_replace( '[[:space:]]{3}',' ',$content );
		$content = str_replace( "<?php",'<?php ',$content );
		return $content;
	}
}